<template>
  <div class="container">
    <HospitalTop />
    <div class="content">
      <!-- 展示路由组件的区域 -->
      <router-view></router-view>
    </div>
    <HospitalBottom />
    <!-- 登录组件 -->
    <Login v-if="userStore.visiable" />
  </div>
</template>

<script setup lang="ts">
import useUserStore from '@/store/modules/user'
let userStore = useUserStore()
</script>

<style scoped lang="scss">
.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  .content {
    margin-top: 70px;
    width: 1200px;
    min-height: 700px;
  }
}
</style>
